package com.itdachang.design.behavioral.command;

/**
 * 要去上（吹）课（牛）啦
 *
 * @author gcq
 * @create 2022-02-15
 */
public class OnLineCommand implements Command {

    private LeiReceiver receiver = new LeiReceiver();

    @Override
    public void execute() {
        System.out.println("要去上（吹）课（牛）啦");
        receiver.onLine();
    }
}